﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TraceInspector.ViewModel
{
    public class LaunchViewModel : ToolViewModel
    {
        public LaunchViewModel(Model.Launch launch,IToolManager toolManager):base(toolManager)
        {
            _launchModel = launch;
            Title = String.Format("{0} : {1:dd.MM.yyyy} - {2:dd.MM.yyyy}", launch.LaunchDevice.Name, launch.StartDate, launch.EndDate);
        }

        private Model.Launch _launchModel;

        public Model.Launch LaunchModel
        {
            get { return _launchModel; }
            set { _launchModel = value; }
        }
    }
}
